package team.se.tms.annotation;

import org.springframework.web.bind.annotation.Mapping;

import java.lang.annotation.*;
/**
 * Regex注解，用在实体类属性上
 *
 * @author johnny
 * @date 2018/11/21
 * @update on 2018/12/26 by johnny
 */
@Target({ElementType.FIELD,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Mapping
public @interface Regex {
    String value();
}
